< Prev(J) / Next(K) > / View :

Filename: /text/swriter/01/05130100.xhp

(section: bedingung) (bookmark: bm_id3154656)
styles; conditional
conditional styles

段落スタイル; 条件付きスタイル
条件付きスタイル; 段落スタイル

Condition
条件(hd_id3154656.1)

Define conditions for conditional styles here.
ここでは、条件付きスタイルの条件が定義できます。(par_id3154766.2)

(/section: bedingung)

(variable: wie)To access this command...(variable: wie)この機能の見つけ方

(embed text/swriter/00/00000405.xhp#vorlagenbedingt : linkinfo)

Right-click a paragraph with style Text body. Choose Edit Paragraph Style - Condition tab
スタイルが 本文 の段落を右クリックします。段落スタイルの編集 → 条件 タブを選択します。(par_idN10715.)

(/embed text/swriter/00/00000405.xhp#vorlagenbedingt)


Conditional styles are paragraph styles that have different properties depending on the context. Once defined, you cannot change the conditional properties of a conditional style.
条件付きスタイルとは、コンテキストによって異なる段落スタイルが適用されることを指します。新しいスタイルを定義する場合、スタイルを「条件付き」にするかどうかを指定します。この「条件付き」の属性を後から変更することはできませんが、条件そのものは変更可能です。(par_id3151391.10)

Office applies the paragraph properties of conditional styles as follows (the bold terms correspond to the titles of dialog fields): If a paragraph formatted with a conditional style is in a Context that has an Applied Style linked to it, then the Paragraph Style from that condition is used. If no style is linked to the Context, then the attributes defined in the conditional style apply. The following example illustrates this relationship:
Office は次のように条件付きスタイルを段落に割り当てます。 (太字の表記はダイアログのリストボックス名です)。使用するスタイル が設定されている コンテキスト で条件付きスタイルを使用すると、段落には 段落スタイル が適用されます。コンテキスト に条件が付いていない場合、条件付きスタイルで定義した属性が有効になります。次に、例を使ってこの操作について説明します。(par_id3149349.11)

  1. Open a blank text document and write a short business letter with a header (Format - Page - Header).
    新しい白紙の文書ドキュメントを開き、短いビジネスレターを入力し、メニュー 書式 → ページ... → ヘッダー でヘッダーを挿入します。(par_id3149883.12)

  2. Define a new Paragraph Style by choosing New in the Styles and Formatting window, and selecting all the paragraph properties that you want for your business letter in the Paragraph Style dialog. Name this style "Business letter".
    スタイルと書式設定ウィンドウの段落スタイルからコンテキストメニューを開き、新規作成... を選択して新しい段落スタイルを定義します。開いた 段落スタイル ダイアログで、先ほど入力したビジネスレターの標準段落に使う属性を指定します。このスタイルに「ビジネスレター」という名前を付けます。(par_id3148768.21)

  3. Then click the Condition tab and select the Conditional style field to define the new Paragraph Style as a conditional style.
    条件 タブに入り、条件付きスタイルとして チェックボックスをオンにして、新しい段落スタイルを条件付きスタイルにします。(par_id3153723.23)

  4. In Context, select the header entry and under Paragraph Styles select the style for the header in your business letter; for example, the default Paragraph Style "Header". You also can select your own style.
    コンテキスト から「ヘッダー」を選択して、段落スタイル から、ビジネスレターのヘッダーに適用するスタイル (例えば既定の段落スタイル「ヘッダー」)を選択します。ユーザー定義のスタイルを選択することもできます。(par_id3154647.24)

  5. You can apply the Paragraph Style to the context by double-clicking the selected entry in the Paragraph Styles list box or by using Apply.
    段落スタイルリストボックスで項目名をダブルクリックするか、または 割り当てボタンをクリックして、段落スタイルをコンテキストに割り当てることができます。(par_id3150760.25)

  6. Click OK to close the Paragraph Style dialog, and then format all paragraphs in your business letter, including the header, with the new "Business letter" conditional Paragraph Style. (When you click in the header, you may need to display All Styles or Custom Styles in the style list to use the new business letter style.)
    OK ボタンをクリックして段落スタイルダイアログを閉じます。新しい条件付き段落スタイル「ビジネスレター」を使用したヘッダーと、ビジネスレターのすべての段落を書式設定します。新しいスタイル「ビジネスレター」を使用するために、場合によっては「すべてのスタイル」または「ユーザー定義のスタイル」をスタイルと書式設定ウィンドウに表示する必要があります。(par_id3149753.26)

The header text now has the attributes you specified in the Header Paragraph Style, while the other parts of the document have the attributes defined in the business letter conditional Paragraph Style.
ヘッダー内のテキストには段落スタイル「ヘッダー」で定義されている属性が割り当てらます。またドキュメントの他のテキスト部分には、 (条件付き)段落スタイルの「ビジネスレター」で定義した属性が適用されます。(par_id3145412.27)

Tip Icon ヒント The "Text body" Style was created as a conditional style. Therefore, any styles you derive from it can be used as conditional styles.
「本文」スタイルは条件付きスタイルとして定義されています。ですから「本文」スタイルを元に作成したものであればどんなスタイルでも条件付きスタイルとして使用できます。(par_id3154473.13)

The Paragraph Style applied to the context is used when exporting to other formats (RTF, HTML, and so on).
RTF、HTML などの別の書式にエクスポートする際には、コンテキストに割り当てられた段落スタイルが適用されます。(par_id3151321.14)

(bookmark: bm_id3152963)

Conditional style
条件付きスタイルとして(hd_id3152952.3)

Check this box to define a new style as a conditional style.
新規定義中のスタイルを条件付きスタイルとする場合は、このチェックボックスをオンにします。(par_id3150974.15)

(bookmark: bm_id3147524)

Context
コンテキスト(hd_id3153672.4)

Here you can see the Office predefined contexts, including outline levels 1 to 10, numbering/bullets levels 1 to 10, table header, table contents, section, border, footnote, header and footer.
Office に事前定義されているコンテキストが一覧表示されます。ここでのコンテキストは、アウトライン (レベル 1 ~ 10)、番号付け (レベル 1 ~ 10) 、表のヘッダー、表、セクション、枠、脚注、文末脚注、ヘッダー、フッターに分かれています。(par_id3147530.16)

Applied Style
使用するスタイル(hd_id3155896.5)

Here you can see the list of all Paragraph Styles applied to a context.
ここには、コンテキストに割り当てられているすべての段落スタイルが表示されます。(par_id3149689.17)

(bookmark: bm_id3159190)

Styles
段落スタイル(hd_id3154194.6)

A list of all Paragraph Styles which can be assigned to a context is contained in the list box.
コンテキストへの割り当て可能なすべての段落スタイルが、リストボックスに表示されます。(par_id3159195.18)

(embed text/swriter/01/05130000.xhp#vorlagenbereich : linkinfo)

Style Groups
スタイルのグループ(hd_id3149821.61)

These are the style groups that you can display in the Styles and Formatting window.
スタイルと書式設定ウィンドウには、これらのスタイルがグループ別に表示されます。(par_id3154828.18)

Name
名前(par_id3148977.67)

Meaning
説明(par_id3149032.68)

Automatic
自動(par_id3153642.19)

Displays styles appropriate to the current context.
現在のコンテキストに適切なスタイル。(par_id3152769.20)

All Styles
すべてのスタイル(par_id3154374.21)

Displays all styles of the active style category.
現在のスタイルの種類に含まれるスタイルすべて。(par_id3153351.22)

Applied Styles
使用したスタイル(par_id3150590.23)

Displays the styles (of selected category) applied in the current document.
現在のドキュメントで適用されている (選択したカテゴリの) スタイルを表示します。 (par_id3149168.24)

Custom Styles
ユーザー定義のスタイル(par_id3156368.25)

Displays all user-defined styles in the selected style category.
ユーザーが定義したスタイルのうち、現在のスタイルの種類に該当するもの。(par_id3145780.26)

Character Styles
文書用スタイル(par_id3155908.27)

Displays formatting styles for text.
テキストの書式設定スタイルを表示します。(par_id3150114.28)

Chapter Styles
章のスタイル(par_id3150700.29)

Displays formatting styles for headings.
章の書式設定スタイルを表示します。(par_id3147412.30)

List Styles
リストのスタイル(par_id3147500.31)

Displays formatting styles for numbered or bulleted lists.
番号付き段落または箇条書きの書式設定スタイルを表示します。(par_id3149568.32)

Index Styles
索引スタイル(par_id3145263.33)

Displays formatting styles for indexes.
索引の書式設定スタイルを表示します。(par_id3155975.34)

Special Region Styles
特別範囲のスタイル(par_id3149213.35)

Displays formatting styles for headers, footers, footnotes, endnotes, tables, and captions.
ヘッダー、フッター、脚注、文末脚注、表、図表番号の書式設定スタイルを表示します。(par_id3147736.36)

HTML Styles
HTML 形式スタイル(par_id3146339.59)

Displays a list of styles for HTML documents.
HTML ドキュメント用のスタイル。(par_id3149845.60)

Conditional Styles
条件付きスタイル(par_id3155560.37)

Displays the user-defined conditional styles.
ユーザーが定義した条件付きスタイル。(par_id3154774.38)

Hierarchical
階層(par_id3151090.39)

Displays the styles in the selected category in a hierarchical list. To view the styles in a sublevel, click on the plus sign (+) next to the sublevel name.
選択したカテゴリのスタイルを階層で表示します。下位にあるスタイルを表示するには、スタイル名の隣にあるプラス記号 (+) をクリックします。(par_id3148448.40)


(/embed text/swriter/01/05130000.xhp#vorlagenbereich)

(bookmark: bm_id3151329)

Remove
削除(hd_id3149306.8)

Click here to remove the current context assigned to the selected style.
このボタンをクリックすると、選択中のスタイルに割り当てられているコンテキストが削除されます。(par_id3151335.19)

(bookmark: bm_id3149494)

Assign
割り当て(hd_id3149483.9)

Click Assign to apply the selected Paragraph Style to the defined context.
割り当て をクリックすると、選択した 段落スタイル が、選択中の コンテキスト に割り当てられます。(par_id3154829.20)


< Prev / Next >